/*
 * QLineSearch.cpp
 *
 *  Created on: 30 janv. 2011
 *      Author: maxime
 */

#include "LineSearch.h"

LineSearch::LineSearch(QWidget * parent) : QLineEdit(parent)
{

}

void LineSearch::keyPressEvent ( QKeyEvent  * event )
{
	if(event->key() == Qt::Key_Escape)
		emit escapeKeyPressed();
	QLineEdit::keyPressEvent(event);
}

LineSearch::~LineSearch() {

}
